if(DEFINED CONFIG_SUPPORT_RADAR_STA)
    set(SOURCES "${SOURCES}" "${CMAKE_CURRENT_SOURCE_DIR}/radar_sta.c" PARENT_SCOPE)
    set(PUBLIC_HEADER "${PUBLIC_HEADER}" "${CMAKE_CURRENT_SOURCE_DIR}/../../../include/middleware/services/radar/radar_service.h" PARENT_SCOPE)
elseif(DEFINED CONFIG_SUPPORT_RADAR_SOFTAP)
    set(SOURCES "${SOURCES}" "${CMAKE_CURRENT_SOURCE_DIR}/radar_softap.c" PARENT_SCOPE)
    set(PUBLIC_HEADER "${PUBLIC_HEADER}" "${CMAKE_CURRENT_SOURCE_DIR}/../../../include/middleware/services/radar/radar_service.h" PARENT_SCOPE)
endif()